﻿using Data.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Data.Service
{
    public interface IBlogService
    {
        IList<Blog> GetAllBlogs();

        void Insert(Blog blog);

        void Update(Blog blog);

        void Delete(Blog blog);

        Blog GetBlogById(int id);
    }
}
